package org.jeecg.modules.index.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SearchThreeDTO对象", description = "SearchThreeDTO对象")
public class SearchThreeDTO {
    @ApiModelProperty(value = "按类型搜索结果的六个拼音  yanjiuyuan、yuanqujidi、shengchanjidi")
    @NotNull
    @NotBlank
    private String searchType;
    @ApiModelProperty(value = "搜索的内容")
    private String search;

    @ApiModelProperty(value = "省份：具体省份  ''/'全国'时全国    ")
    private String province;
    @ApiModelProperty(value = "1")
    private Integer pageNo;
    @ApiModelProperty(value = "10")
    private Integer pageSize;

    @ApiModelProperty(value = "1 机械装备  2 数字产业 3 文化旅游产业")
    private String mainType;
}
